import { SRobCityThreePlayer } from "../../../../../../Message/Public/SRobCityThreePlayer";
import { Cache } from "../../../../cache/Cache";
type int = number;
//class GRCThreeRankData
    
    export  class GRCThreeRankData extends SRobCityThreePlayer
    {
        constructor(arg1: SRobCityThreePlayer)
        {
            super();
            this.entityId = arg1.entityId;
            this.force = arg1.force;
            this.deadNum = arg1.deadNum;
            this.hurt = arg1.hurt;
            this.killNum = arg1.killNum;
            this.name = arg1.name;
            this.maxLift = Cache.instance.robCity.getStatueMaxLife();
            return;
        }

        public get hurtPersent(): string
        {
            var loc1=Math.floor(hurt / this.maxLift * 10000);
            return loc1 / 100 + "%";
        }

        public /* var */rank: int;

        public /* var */maxLift: int=100000000;

        public /* var */guildName: string="";

        public /* var */camp: string="";
    }
